File manager - Edit - /home/autoph/public_html/projects/AutoHub-Kiosk-Final/storage/framework/views/435824e4bd041e1bfc25d2268c461f0e0a8dd5df.php
Back
<!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <meta http-equiv="X-UA-Compatible" content="ie=edge"> <title>Autohub Rating</title> <style type="text/css"> @page { margin: 2cm; } *{ font-family: 'Arial', sans-serif; } table{ margin: 10px 0 20px 0; width: 100%; } .data{ background-color: #222831; color: #FFD369; } th{ padding: 4px; } td{ padding: 2px; } tbody tr:nth-child(even){ background-color: #EEEEEE; } .center-aligned{ text-align: center; } /* .header { position: fixed; left: 0px; top: -180px; right: 0px; height: 150px; background-color: orange; text-align: center; } */ .footer { position: fixed; left: -20px; bottom: -180px; height: 160px; font-size: 10px; } .footer .page:after { content: counter(page, upper-roman); } </style> </head> <body> <div class="footer"> <em><small>Prepared By: <?php echo e(Auth::user()->f_name . " " . Auth::user()->l_name); ?></small></em><p class="page"><?php $PAGE_NUM ?> </p> </div> <div style="margin-top: -45px"> <div class="row" style="width:100%; margin-bottom: -25px"> <table> <thead> <th colspan="1" style="width: 30%;"> <img src="<?php echo e(public_path('files/img/AGC_TRANSPARENT.png')); ?>" alt=""> </th> <th colspan="4" style="width: 40%;"> <div> <label for="" style="font-size: 1.5rem"><strong><?php echo e($report_title); ?></strong></label> </div> </th> <th style="width:30%;"> <p style="text-align: right; font-size: 10px;">Blk. 15, Ford Global Building., 32nd St., Cor. Rizal Drive, Crescent Park West, BGC, Taguig City<br><?php echo e(\Carbon\Carbon::now()->format('M. d, Y')); ?></p> </th> </thead> </table> </div> <hr/> <div> <?php if(count($data) == 0): ?> <p class="center-aligned"><em class="center-aligned"> No data to show. </em></p> <?php endif; ?> <?php $__currentLoopData = $data; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $row): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?> <div style="margin-bottom: 2rem"> <em style="float:left; font-weight:bolder; font-size:15px"><small>Total Customer: <?php echo e($row->total); ?></small></em> </div> <?php if(!empty($row->total)): ?> <table> <thead class="data"> <?php $__currentLoopData = $table_headers; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $header): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?> <th> <?php echo e($header); ?> </th> <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?> </thead> <tbody> <?php for($i = 0; $i < $row->total; $i++): ?> <tr> <td style="width:15px;"><?php echo e($i+1); ?></td> <?php $__currentLoopData = $table_body; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $data): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?> <td style="font-size: 13px;"><?php echo e($row->list[$i]->$data); ?></td> <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?> </tr> <?php endfor; ?> </tbody> </table> <?php else: ?> <p class="center-aligned"><em class="center-aligned"> No data to show. </em></p> <?php endif; ?> <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?> </div> </div> <?php if (isset($pdf)) { //Shows number center-bottom of A4 page with $x,$y values $x = 250; //X-axis i.e. vertical position $y = 820; //Y-axis horizontal position $text = "Page {PAGE_NUM} of {PAGE_COUNT}"; //format of display message $font = $fontMetrics->get_font("helvetica"); $size = 10; $color = array(0, 0, 0); $word_space = 0.0; // default $char_space = 0.0; // default $angle = 0.0; // default $pdf->page_text(250,10,'HEADER: GGG',$font,$size,$color,$word_space,$char_space,$angle); // footer $pdf->page_text($x, $y, $text, $font, $size, $color, $word_space, $char_space, $angle); } ?> </body> </html><?php /**PATH /home/autoph/public_html/projects/AutoHub-Kiosk-Final/resources/views/layouts/reports/customer.blade.php ENDPATH**/ ?>
| ver. 1.4 |
.
| PHP 8.1.32 | Generation time: 0 |
proxy
|
phpinfo
|
Settings